{"ast":null,"code":"import URLSearchParams from './classes/URLSearchParams.js';\nimport FormData from './classes/FormData.js';\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n *  typeof window -> undefined\n *  typeof document -> undefined\n *\n * react-native:\n *  navigator.product -> 'ReactNative'\n * nativescript\n *  navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nvar isStandardBrowserEnv = function () {\n  var product;\n  if (typeof navigator !== 'undefined' && ((product = navigator.product) === 'ReactNative' || product === 'NativeScript' || product === 'NS')) {\n    return false;\n  }\n  return typeof window !== 'undefined' && typeof document !== 'undefined';\n}();\nexport default {\n  isBrowser: true,\n  classes: {\n    URLSearchParams: URLSearchParams,\n    FormData: FormData,\n    Blob: Blob\n  },\n  isStandardBrowserEnv: isStandardBrowserEnv,\n  protocols: ['http', 'https', 'file', 'blob', 'url', 'data']\n};","map":{"version":3,"names":["URLSearchParams","FormData","isStandardBrowserEnv","product","navigator","window","document","isBrowser","classes","Blob","protocols"],"sources":["/Users/poppie/Desktop/development/messenger/app/frontend/node_modules/axios/lib/platform/browser/index.js"],"sourcesContent":["import URLSearchParams from './classes/URLSearchParams.js'\nimport FormData from './classes/FormData.js'\n\n/**\n * Determine if we're running in a standard browser environment\n *\n * This allows axios to run in a web worker, and react-native.\n * Both environments support XMLHttpRequest, but not fully standard globals.\n *\n * web workers:\n *  typeof window -> undefined\n *  typeof document -> undefined\n *\n * react-native:\n *  navigator.product -> 'ReactNative'\n * nativescript\n *  navigator.product -> 'NativeScript' or 'NS'\n *\n * @returns {boolean}\n */\nconst isStandardBrowserEnv = (() => {\n  let product;\n  if (typeof navigator !== 'undefined' && (\n    (product = navigator.product) === 'ReactNative' ||\n    product === 'NativeScript' ||\n    product === 'NS')\n  ) {\n    return false;\n  }\n\n  return typeof window !== 'undefined' && typeof document !== 'undefined';\n})();\n\nexport default {\n  isBrowser: true,\n  classes: {\n    URLSearchParams,\n    FormData,\n    Blob\n  },\n  isStandardBrowserEnv,\n  protocols: ['http', 'https', 'file', 'blob', 'url', 'data']\n};\n"],"mappings":"AAAA,OAAOA,eAAe,MAAM,8BAA8B;AAC1D,OAAOC,QAAQ,MAAM,uBAAuB;;AAE5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,IAAMC,oBAAoB,GAAI,YAAM;EAClC,IAAIC,OAAO;EACX,IAAI,OAAOC,SAAS,KAAK,WAAW,KAClC,CAACD,OAAO,GAAGC,SAAS,CAACD,OAAO,MAAM,aAAa,IAC/CA,OAAO,KAAK,cAAc,IAC1BA,OAAO,KAAK,IAAI,CAAC,EACjB;IACA,OAAO,KAAK;EACd;EAEA,OAAO,OAAOE,MAAM,KAAK,WAAW,IAAI,OAAOC,QAAQ,KAAK,WAAW;AACzE,CAAC,EAAG;AAEJ,eAAe;EACbC,SAAS,EAAE,IAAI;EACfC,OAAO,EAAE;IACPR,eAAe,EAAfA,eAAe;IACfC,QAAQ,EAARA,QAAQ;IACRQ,IAAI,EAAJA;EACF,CAAC;EACDP,oBAAoB,EAApBA,oBAAoB;EACpBQ,SAAS,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;AAC5D,CAAC"},"metadata":{},"sourceType":"module"}